Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

Conversation

dawncold
Copy link

my_import will walk job handler's module path from head to tail, but if a function exposed by a package, with the same name of package, it will get the function instead of module.

this test makes a job handler called b, and its __module__ is tests.a.a, also a function named a exposed by package a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant